package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

public class Unit extends BaseEntity {
    private static final long serialVersionUID = 1L;
    /** 单位id */
    private Long Id;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unit;

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Override
    public String toString() {
        return "Unit{" +
                "Id=" + Id +
                ", unit='" + unit + '\'' +
                '}';
    }
}
